package com.happy3w.cmds.maven.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

import java.nio.file.Path;

@Getter
@Setter
@Builder
@AllArgsConstructor
public class ModuleFile {
    private Path path;
    private JavaModule module;

    public ClassInfo toClassInfo() {
        return ClassInfo.from(path, module.getFullPath(), this);
    }
}
